package cn.com.headfree.call.callback;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Component;

import com.gta.edu.sdk.common.dto.ResultData;

import cn.com.headfree.call.IDictionaryServiceCall;

@Component
public class DictionaryServiceCallBack implements IDictionaryServiceCall {
	private static final Logger log = LogManager.getLogger(DictionaryServiceCallBack.class);

	@Override
	public ResultData findDictionaryByParentValue(String sysCode, String parentValue) {
		String errorMsg = "根据系统编码和父节点值获取父节点下所有的孩子节点调用comm-dictionary-server组件的接口失败！";
		ResultData result = new ResultData();
		result.setSuccess(false);
		result.setErrorMsg(errorMsg);
		log.error(errorMsg);
		return result;
	}
	
}
